package com.doit.day01

object _04_类型转换 {
  def main(args: Array[String]): Unit = {
    //自动类型提升
    val i: Int = 10
    val j: Double = 10.8
    val res: Int = (i+j).toInt
    println(res)
  }

}
